home *** CD-ROM | disk | FTP | other *** search
/ PC User 2004 November / PCU1104CD2.iso / software / browsers / files / QBrows.exe / {app} / AddIns / Sample / install.js next >
Encoding:
Text File  |  2003-10-04  |  284 b   |  5 lines

  1. var WshShell =  WScript.CreateObject("WScript.Shell");
  2. var regPath = "HKCU\\Software\\WoLoSoft\\QBrowser\\Macros\\Sample\\"
  3. WshShell.RegWrite( regPath + "FileName", WshShell.CurrentDirectory + "\\Sample.vbs", "REG_SZ" );
  4. WshShell.RegWrite( regPath + "Startup", 1, "REG_BINARY" );
  5.